
package cn.afterturn.oneopen.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 请求日志
 *
 * @author JueYue
 * @Date 2019-03-24 13:41:30
 */
@Data
@TableName(value = "gw_operation_log")
public class OperationLogModel extends Model<OperationLogModel> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField(value = "url", strategy = FieldStrategy.NOT_EMPTY)
    private String url;

    @TableField(value = "account_no", strategy = FieldStrategy.NOT_EMPTY)
    private String accountNo;

    @TableField(value = "times")
    private Integer times;

    @TableField(value = "crt_time")
    private Date crtTime;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
